package com.ruoyi.project.system.app.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * CTCP应用对象 ctcp_app
 * 
 * @author huzhenyuan
 * @date 2021-07-15
 */
public class CtcpApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 节点序号 */
    @Excel(name = "节点序号")
    private Long nodeId;

    /** CTCP计算节点信息 */
    private List<CtcpNodeForApp> ctcpNodeList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setNodeId(Long nodeId)
    {
        this.nodeId = nodeId;
    }

    public Long getNodeId()
    {
        return nodeId;
    }

    public List<CtcpNodeForApp> getCtcpNodeList()
    {
        return ctcpNodeList;
    }

    public void setCtcpNodeList(List<CtcpNodeForApp> ctcpNodeList)
    {
        this.ctcpNodeList = ctcpNodeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("type", getType())
            .append("status", getStatus())
            .append("nodeId", getNodeId())
            .append("ctcpNodeList", getCtcpNodeList())
            .toString();
    }
}
